package com.tulingxueyuan.mall.modules.pms.mapper;

import com.tulingxueyuan.mall.modules.pms.model.PmsBrand;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tulingxueyuan.mall.modules.pms.model.PmsBrandExample;
import com.tulingxueyuan.mall.modules.pms.model.dto.PmsBrandParamDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 品牌表 Mapper 接口
 * </p>
 *
 * @author zhaofuhao
 * @since 2022-02-24
 */
@Repository
public interface PmsBrandMapper extends BaseMapper<PmsBrand> {

    int updateByExampleSelective(@Param("record") PmsBrand record, @Param("example") PmsBrandExample example);

    boolean insertSelective(PmsBrandParamDTO pmsBrand);

    boolean deleteByPrimaryKey(Long id);
}
